package com.barry.pattern.dutyList;

public class Duty {
	private int gread;
	private String name;

	protected Duty(String string, int i) {
		setGread(i);
		setName(string);
	}

	/**
	 * @return the gread
	 */
	public int getGread() {
		return gread;
	}

	/**
	 * @param gread
	 *            the gread to set
	 */
	public void setGread(int gread) {
		this.gread = gread;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

}
